<template>
  <div>
    <el-card class="box-card">
      <div>
        <span class="title-n" v-if="topTitle.type !== ''"
          >{{ topTitle.type }}/</span
        >
        <span class="title-t">{{ topTitle.text }}</span>
        <span class="title-m">-{{ topTitle.msg }}</span>
      </div>
    </el-card>
  </div>
</template>

<script>
export default {
  props: ["topTitle"],
  name: "ConTitle",
};
</script>

<style lang="scss" scoped>
.title-n {
  color: #d3d6dd;
  font-size: 14px;
}
.title-t {
  font-size: 16px;
  font-weight: bold;
}
.title-m {
  color: #888989;
}
</style>